home *** CD-ROM | disk | FTP | other *** search
/ The Programmer Disk / The Programmer Disk (Microforum).iso / xpro / extra / pro13 / isalnum.c < prev    next >
C/C++ Source or Header  |  1993-02-01  |  287b  |  21 lines

  1. /*
  2.     isalnum.C
  3.  
  4.     Copyright (C) 1993, Geoff Friesen B.Sc.
  5.     All rights reserved.
  6. */
  7.  
  8. #define    INCL_ISALNUM
  9.  
  10. #ifndef INCL_ISALPHA
  11. #include "isalpha.C"
  12. #endif
  13.  
  14. #ifndef INCL_ISDIGIT
  15. #include "isdigit.C"
  16. #endif
  17.  
  18. int isalnum (int c)
  19. {
  20.    return (isalpha (c) || isdigit (c));
  21. }